Platform Explorer / Nuxeo Platform 2023.19

Operation Blob.ExportToFS (Export to File)

Description

Save the input blob(s) as a file(s) into the given target directory. The blob(s) filename is used as the file name. You can specify an optional prefix string to prepend to the file name. Return back the blob(s).
Operation id Blob.ExportToFS
AliasesBlob.ToFile
Category Files
Label Export to File
Requires
Since

Parameters

Name Description Type Required Default value
directory string yes  
prefix string no  

Signature

Inputs blob, bloblist
Outputs blob, bloblist

Implementation Information

Implementation Class Class: org.nuxeo.ecm.automation.core.operations.blob.BlobToFile
Contributing Component org.nuxeo.ecm.core.automation.coreContrib

JSON Definition

{
  "id" : "Blob.ExportToFS",
  "aliases" : [ "Blob.ToFile" ],
  "label" : "Export to File",
  "category" : "Files",
  "requires" : null,
  "description" : "Save the input blob(s) as a file(s) into the given target directory. The blob(s) filename is used as the file name. You can specify an optional <b>prefix</b> string to prepend to the file name. Return back the blob(s).",
  "url" : "Blob.ExportToFS",
  "signature" : [ "blob", "blob", "bloblist", "bloblist" ],
  "params" : [ {
    "name" : "directory",
    "description" : null,
    "type" : "string",
    "required" : true,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  }, {
    "name" : "prefix",
    "description" : null,
    "type" : "string",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  } ]
}